<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>注册</title>
  </head>
  <body>
  <h1>注册用户</h1>
  <form action="http://localhost:8080/servlet/httpRequestMethods"
        method="post">
    u:　<input type="text" name="username"/><br><br>
    p:　<input type="password" name="pwd"/><br><br>
    选择你喜欢的人:
    <input type="checkbox" name="hobby" value="zs">张三
    <input type="checkbox" name="hobby" value="ls">李四
    <input type="checkbox" name="hobby" value="ww">王五<br/><br/>
    <input type="submit" value="注册用户"/>
  </form>
</body>
</html>